Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p.serif { font-family: "Times New Roman", Times, serif; } p.sansserif { font-family: Arial, Helvetica, sans-serif; } </style> </head> <body> <h1>CSS font-family</h1> <p class="serif">This is a paragraph, shown in the Times New Roman font.</p> <p class="sansserif">This is a paragraph, shown in the Arial font.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_font-family by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:08 GMT --> </html>
Result:
Try it Yourself - © w3schools.com